<?php
namespace App\Http\Controllers;
use Illuminate\Support\Facades\DB;
class CustomerController extends Controller{
	 
	public function index(){
		//$customer = DB::select('select * from customer_entity');
		//$result = $customer = DB::insert('insert into customer_entity(entity_type_id,username) values(?,?)',[1,'Seon']);
		$result = DB::update('update customer_entity set entity_type_id=? where username=?',[3,'Seon']);
		var_dump($result);
	}
}